package test_package;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;

/**
 * Created by iryna on 3/29/14.
 */
public class MyPage {

    private WebDriver driver;
    public MyPage(WebDriver driver){
        this.driver = driver;

    }



    public String changePassword(){

        return driver.findElement(By.xpath("/html/body/div[2]/div/div/div/div/div/ul/li[2]/a")).getText();
    }

}
